<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>servlet6</title>
</head>
<body>
    <form action="servlet6" method="post">
        <input  type="text" name="username">
        <input  type="text" name="password">
        <input  type="checkbox" name="hobby" value="1">
        <input  type="checkbox" name="hobby" value="2">
        <input  type="checkbox" name="hobby" value="3">
        <input  type="submit" >
    </form>
</body>
</html>